package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.market;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class GoodsOrderListResponse extends SecurityResponse<GoodsOrderListResponse.Body> {

	public GoodsOrderListResponse() {
		this.body = new Body();
	}

	public GoodsOrderListResponse(Integer code, String msg) {
		super(code,msg);
		this.body = new Body();
	}

	public static class Body implements Serializable {

		public List<Item> items;

		public List<Item> getItems() {
			return items;
		}

		public void setItems(List<Item> items) {
			this.items = items;
		}
	}

	public static class Item {

		private String tradeNo;
		private Long goodsId;
		private String goodsName;
		private Long goodsSpaceId;
		private String goodsSpaceName;
		private String goodsImg;
		private Integer goodsCount;
		private String goodsMoneyStr;
		private String moneyStr;
		private String logisticsMoneyStr;
		private Integer state;
		private String stateName;
		private Date createDate;

		public String getTradeNo() {
			return tradeNo;
		}

		public void setTradeNo(String tradeNo) {
			this.tradeNo = tradeNo;
		}

		public Long getGoodsId() {
			return goodsId;
		}

		public void setGoodsId(Long goodsId) {
			this.goodsId = goodsId;
		}

		public String getGoodsName() {
			return goodsName;
		}

		public void setGoodsName(String goodsName) {
			this.goodsName = goodsName;
		}

		public Long getGoodsSpaceId() {
			return goodsSpaceId;
		}

		public void setGoodsSpaceId(Long goodsSpaceId) {
			this.goodsSpaceId = goodsSpaceId;
		}

		public String getGoodsSpaceName() {
			return goodsSpaceName;
		}

		public void setGoodsSpaceName(String goodsSpaceName) {
			this.goodsSpaceName = goodsSpaceName;
		}

		public String getGoodsImg() {
			return goodsImg;
		}

		public void setGoodsImg(String goodsImg) {
			this.goodsImg = goodsImg;
		}

		public Integer getGoodsCount() {
			return goodsCount;
		}

		public void setGoodsCount(Integer goodsCount) {
			this.goodsCount = goodsCount;
		}

		public String getGoodsMoneyStr() {
			return goodsMoneyStr;
		}

		public void setGoodsMoneyStr(String goodsMoneyStr) {
			this.goodsMoneyStr = goodsMoneyStr;
		}

		public String getLogisticsMoneyStr() {
			return logisticsMoneyStr;
		}

		public void setLogisticsMoneyStr(String logisticsMoneyStr) {
			this.logisticsMoneyStr = logisticsMoneyStr;
		}

		public String getMoneyStr() {
			return moneyStr;
		}

		public void setMoneyStr(String moneyStr) {
			this.moneyStr = moneyStr;
		}

		public Integer getState() {
			return state;
		}

		public void setState(Integer state) {
			this.state = state;
		}

		public String getStateName() {
			return stateName;
		}

		public void setStateName(String stateName) {
			this.stateName = stateName;
		}

		public Date getCreateDate() {
			return createDate;
		}

		public void setCreateDate(Date createDate) {
			this.createDate = createDate;
		}
	}

}
